package com.neouton.crm.sales.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.neouton.crm.sales.entity.SalesFileRelationVO;

import java.util.List;

public interface SalesFileRelationService extends IService<SalesFileRelationVO> {
    SalesFileRelationVO selectByPrimaryKey(Integer Id);
    boolean deleteFileLogic(SalesFileRelationVO file);

    boolean deleteFileInfo(String fileId,Integer fileClass);

    boolean deleteFileBySalesFileId(String fileId);

    List<SalesFileRelationVO> queryFileByRelationIdAndFileClass(Integer salesRelationId,Integer fileClass);
}
